
/*
 * Hlpay-Plus aggregate payment system. Copyright
 * (c) 2022-2023 Hlpay Team Copyright has the right of final interpretation.
 */
package com.hlkj.pay.app.transfer;
import java.util.List;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import com.hlkj.pay.infrastructure.model.admin.PermissionDO;
import com.hlkj.pay.vo.admin.resp.permission.PermissionDetailResp;
/**
 * @author HlpayTeam
 * @date 2024/09/01 15:14
 */
@Mapper
public interface PermissionDoToResp {
	PermissionDoToResp INSTANCE = Mappers.getMapper(PermissionDoToResp.class);
	/**
	 * bo to resp
	 * @param permissionList
	 * @return
	 */
	List<PermissionDetailResp> domainToRespList(List<PermissionDO> permissionList);
	/**
	 * bo to resp
	 * @param permissionDO
	 * @return
	 */
	PermissionDetailResp domainToResp(PermissionDO permissionDO);
	
	
}
